const admin = (axios, Url) => {
  var Object = {};
  /*  p1:sessionId=>登录保存的sessionid;
  p2:p=>分页*/
  Object.Info = () => {
      return axios({
        method: 'get',
        url: Url.Info,
      })
    },
    /*  p1:sessionId=>登录保存的sessionid;
    p2:p=>分页*/
    Object.bill = (p) => {
      return axios({
        method: 'get',
        url: Url.bill + '?page=' + p,
      })
    },
    /*  p1:sessionId=>登录保存的sessionid;
  p2:p=>分页*/
    Object.ToList = (p) => {
      return axios({
        method: 'get',
        url: Url.ToList + '?page=' + p,
      })
    },
    /* :p=>分页*/
    Object.financeList = (p) => {
      return axios({
        method: 'get',
        url: Url.financeList + '?page=' + p,
      })
    },
    Object.Logout = () => {
      return axios({
        method: 'get',
        url: Url.Logout,
      })
    }
    return Object
}
export default admin
